// 保存到本地
function saveLocal (key, value) {
  window.localStorage.setItem(key, value)
}

// 获取
function getLocal (key) {
  return window.localStorage.getItem(key)
}
// 删除
function delLocal (key) {
  window.localStorage.removeItem(key)
}
export { saveLocal, getLocal, delLocal }
